package cn.tedu.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/car")
public class CarController {
    @RequestMapping("/save")
  public void save() {
        System.out.println("save方法正在执行");
    }
        @RequestMapping("/get")
        public void get(){
            for (int i = 0; i <1000 ; i++) {
                System.out.print("get方法正在执行");
            }
            System.out.println();
  }
}
